package com.ly.im.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ly.im.pojo.Apply;
import com.ly.im.repository.ApplyRepository;
import com.ly.im.service.ApplyService;
import com.ly.im.utils.ResponseUtils;
import org.springframework.stereotype.Service;

/**
 * @Author LY
 * @create 2024/2/2 15:12
 * @Description 申请
 */
@Service
public class ApplyServiceImpl extends ServiceImpl<ApplyRepository, Apply> implements ApplyService {

    @Override
    public Object saveApply(Apply apply) {
        baseMapper.insert(apply);
        return ResponseUtils.ok();
    }
}
